package com.zshield.util;

import java.time.OffsetDateTime;
import java.time.ZoneOffset;

public enum EEtime {
    INSTANCE;
    public String parser(String time){
        OffsetDateTime offDateTime = OffsetDateTime.parse(time);
        ZoneOffset zoneOffset = ZoneOffset.of("+08:00");
        OffsetDateTime offsetDateTime = offDateTime.withOffsetSameInstant(zoneOffset);
        return offsetDateTime.format(Etime.DATETIME_FORMATTER);
    }

    public static void main(String[] args) {
        String parser = EEtime.INSTANCE.parser("");
    }
}
